<!DOCTYPE HTML>
<html>
<head>
  <meta charset="utf-8">
  <title>运用运动框架</title>
   <style>
   #div1{width:100px;height:100px;background:red;}
   </style>
   <script src="move.js"></script>
   <script>
       window.onload=function(){
	       var oDiv=document.getElementById("div1");
	       
		   oDiv.onmouseover=function(){
		       startMove(oDiv,'width',300,function(){
			        startMove(oDiv,'height',300);
			   });			   
		   };
		   oDiv.onmouseout=function(){
		       startMove(oDiv,'height',100,function(){
			        startMove(oDiv,'width',200);
			   });			   
		   };
	   };
   </script>
</head>
<body>
  <div id="div1"></div>
   

</body>
</html>